<template>
  <div class="son">
    <h3>儿子</h3>
    {{ $attrs }}
    <button @click="setData">setData</button>
  </div>
</template>
<script>
export default {
  methods: {
    setData() {
      this.$emit('click', 100)
    }
  }
}
</script>
<style lang="scss"></style>
